﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Office.Xoox
{
    public class XWorksheetCollection : List<XWorksheet>
    {
        public XWorksheetCollection()
            : base()
        {
        }

        public XWorksheet this[string name]
        {
            get
            {
                return this.FirstOrDefault(t => t.Name == name);
            }
        }
    }
}
